home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / mweb / MWEB Utils / ws295sdk.exe / Ws2sdkzp.exe / SAMPLES / LAYERED / GLOBALS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-06-06  |  1.7 KB  |  62 lines

  1. /*++
  2.  
  3.  
  4.      Copyright c 1996 Intel Corporation
  5.      All Rights Reserved
  6.  
  7.      Permission is granted to use, copy and distribute this software and
  8.      its documentation for any purpose and without fee, provided, that
  9.      the above copyright notice and this statement appear in all copies.
  10.      Intel makes no representations about the suitability of this
  11.      software for any purpose.  This software is provided "AS IS."
  12.  
  13.      Intel specifically disclaims all warranties, express or implied,
  14.      and all liability, including consequential and other indirect
  15.      damages, for the use of this software, including liability for
  16.      infringement of any proprietary rights, and including the
  17.      warranties of merchantability and fitness for a particular purpose.
  18.      Intel does not assume any responsibility for any errors which may
  19.      appear in this software nor any responsibility to update it.
  20.  
  21. Module Name:
  22.  
  23.     globals.h
  24.  
  25. Abstract:
  26.  
  27.     This module contains the external definitions of the global objects
  28.     contained in the layered service provider sample
  29.  
  30. --*/
  31. #ifndef _GLOBALS_H_
  32. #define _GLOBALS_H_
  33.  
  34. //
  35. // Global variables from SPI.CPP
  36. //
  37.  
  38. // The WinSock2 UpCallTable.
  39. extern WSPUPCALLTABLE                    gUpCallTable;
  40. extern LPWPUCOMPLETEOVERLAPPEDREQUEST    lpWPUCompleteOverlappedRequest;
  41.  
  42. // Variables to track Startup/Cleanup Pairing.
  43. extern CRITICAL_SECTION  gInitCriticalSection;
  44. extern DWORD             gStartupCount;
  45.  
  46. // The catalog of providers
  47. extern PDCATALOG gProviderCatalog;
  48.  
  49. // The buffer manager for providers that modify the data stream
  50. extern PDBUFFERMANAGER gBufferManager;
  51.  
  52. extern char gLibraryName[MAX_PATH];
  53.  
  54. extern HINSTANCE  HDllInstance;
  55.  
  56. extern DWORD      TlsIndex;
  57.  
  58.  
  59. #endif // _GLOBALS_H_
  60.  
  61.  
  62.